<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>jquery</title>
</head>
<body>

<script src="../lib/jquery.js"></script>
<script>
  // 事件传递参数
  $(document).on('data', {val: 'cicime'}, function (event) {
    console.log(event.data);
  });
  $(document).trigger('data');
</script>
</body>
</html>